package com.tedu.springmvc2.mapper;

import com.tedu.springmvc2.pojo.entity.User;
import com.tedu.springmvc2.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    public int insert(User user);

    public int deleteById(Integer id);

    public int updateById(User user);

    List<UserVO> selectAll();

    UserVO selectById(Integer id);
}
